package com.bean;

import java.sql.Timestamp;


/**
 * TransactionRecord entity. @author MyEclipse Persistence Tools
 */

public class TransactionRecord  implements java.io.Serializable {


    // Fields    

     /** serialVersionUID*/
	private static final long serialVersionUID = -6368086635598604258L;
	private Long trId;
     private ParkOrder parkOrder;
     private Short payType;
     private Timestamp createTime;
     private Timestamp updateTime;
     private Short category;
     private Double amount;
     private Short status;


    // Constructors

    /** default constructor */
    public TransactionRecord() {
    }

	/** minimal constructor */
    public TransactionRecord(Short payType, Timestamp createTime, Timestamp updateTime, Short category, Double amount, Short status) {
        this.payType = payType;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.category = category;
        this.amount = amount;
        this.status = status;
    }
    
    /** full constructor */
    public TransactionRecord(ParkOrder parkOrder, Short payType, Timestamp createTime, Timestamp updateTime, Short category, Double amount, Short status) {
        this.parkOrder = parkOrder;
        this.payType = payType;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.category = category;
        this.amount = amount;
        this.status = status;
    }

   
    // Property accessors

    public Long getTrId() {
        return this.trId;
    }
    
    public void setTrId(Long trId) {
        this.trId = trId;
    }

    public ParkOrder getParkOrder() {
        return this.parkOrder;
    }
    
    public void setParkOrder(ParkOrder parkOrder) {
        this.parkOrder = parkOrder;
    }

    public Short getPayType() {
        return this.payType;
    }
    
    public void setPayType(Short payType) {
        this.payType = payType;
    }

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public Short getCategory() {
        return this.category;
    }
    
    public void setCategory(Short category) {
        this.category = category;
    }

    public Double getAmount() {
        return this.amount;
    }
    
    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Short getStatus() {
        return this.status;
    }
    
    public void setStatus(Short status) {
        this.status = status;
    }
   








}